{% load admin_list %}
{% load i18n %}
{% if pagination_required %}
<div class="pagination pull-left">
	<ul>
	    <!--li><a href="#">Prev</a></li-->
	    {% for i in page_range %}
		    <li>
	    		{% paginator_number cl i %}
	    	</li>
		{% endfor %}
		<li>
	   		{% if show_all_url %}<a href="{{ show_all_url }}" class="showall">{% trans 'Show all' %}</a>{% endif %}
	    </li>
	    <!--li><a href="#">Next</a></li-->
	</ul>
</div>
<div class="pagination pagination-right">
{% trans "Total" %}: {{ cl.result_count }} {% ifequal cl.result_count 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endifequal %}
{% if cl.formset and cl.result_count %}<input type="submit" name="_save" class="default" value="{% trans 'Save' %}"/>{% endif %}
</div>
{% endif %}